package org.tzeng.html.mongo;

import java.io.InputStream;
import java.util.Properties;
import java.lang.ClassLoader;
/**
 * Created by tzeng on 2016-01-06.
 */
public class InitMongo {

    /**
     * 系统根目录
     */
    public static final String ROOT_PATH = System.getProperty("user.dir");

    /**
     * 配置文件地址
     */
    private static final String config="db.properties";
    private static final String charset="utf-8";

    public InputStream in = ClassLoader.getSystemResourceAsStream(config);
    Properties prop = new Properties();

//    prop.load(in);
}
